for y in range(1,10):
    for x in range(1,y+1):
        print("{0}*{1}={2}".format(y,x,(x*y)) ,end="\t")
    print()